<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>

<link rel="stylesheet" type="text/css" href="<c:url value="/resources/css/header.css"/>" />

<header>

<div class="project">
	  <a href="<c:url value="/administrator/home"/>" class="navbar-brand"><spring:message code="telephone_exchange" text="Telephone Exchange" /></a>
	</div>
  <form:form commandName="activeMenu">
  
	<ul class="nav nav-pills pull-right">
	
		<li class="active"> 
          <a href="<c:url value="/administrator/profile" />">${username}</a>
        </li
      
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><spring:message code="pay_cards" text="Pay Cards" /><b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="<c:url value="/administrator/payCards/getList"/>"><spring:message code="get_list" text="Get List" /></a></li>
          <li><a href="<c:url value="/administrator/payCards/create"/>"><spring:message code="pay_card.create" text="Create new Pay Card" /></a></li>
        </ul>
      </li>
      
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><spring:message code="services" text="Pay Cards" /><b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="<c:url value="/administrator/services/getList"/>"><spring:message code="get_list" text="Get List" /></a></li>
          <li><a href="<c:url value="/administrator/services/create"/>"><spring:message code="service.create" text="Create new Pay Card" /></a></li>
        </ul>
      </li>
      
      <li class="dropdown">
        <a href="#" class="dropdown-toggle" data-toggle="dropdown"><spring:message code="subscribers" text="Pay Cards" /><b class="caret"></b></a>
        <ul class="dropdown-menu">
          <li><a href="<c:url value="/administrator/subscribers/getList"/>"><spring:message code="get_list" text="Get List" /></a></li>
        </ul>
      </li>

      <li> 
        <a href="<c:url value="/j_spring_security_logout" />"><spring:message code="logout" text="Get List" /></a> 
      </li>
      
      
    </ul>
    
  </form:form>
    
</header>